package com.pdg.android.rockscissorspaper;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class AboutActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about);
        TextView tv = (TextView)findViewById(R.id.text);
        tv.setText(
        		String.format(
        				getString(R.string.about_text),
        				getString(R.string.app_author),
        				getString(R.string.pdg_catalog)
        				)
        		);
    }
	public void backButtonPressed(View theView){
        Intent myIntent = new Intent(theView.getContext(), MainMenuActivity.class);
        startActivityForResult(myIntent, 0);
	}
}
